<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../assets/img/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../assets/img/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../assets/img/favicon-72.png">
<link rel="apple-touch-icon-precomposed" href="../../assets/img/favicon-32.png">
<link rel="shortcut icon" href="../../assets/img/favicon-32.png">

<link rel="stylesheet" href="../../assets/css/vk.css"/>
<link rel="stylesheet" href="../../assets/css/prism.css"/>


<vk-title>VkBufferImageCopy | NVK</vk-title>

<vk-centered>

  <vk-navigation>
  <vk-search-title>Search</vk-search-title>
  <vk-search>
    <input type="text" id="search" autocomplete="off" />
    <vk-search-results>
      <ol id="search-list">
        <li id="no-search-results">No Results</li>
      </ol>
    </vk-search-results>
  </vk-search>
  <vk-section-title style="margin-top: 1em;">Categories</vk-section-title>
  <vk-categories></vk-categories>
</vk-navigation>


  <vk-struct>

    <vk-name>VkBufferImageCopy</vk-name>

    <vk-description>Structure specifying a buffer image copy operation</vk-description>

    <vk-section-title>Syntax</vk-section-title>
    <vk-syntax>
      <pre><code class="language-js">bufferImageCopy = new VkBufferImageCopy();
bufferImageCopy = new VkBufferImageCopy(object);</code></pre>
    </vk-syntax>

    <vk-section-title>Stub</vk-section-title>
    
    <vk-property-prototype id="expand-code" class="expand-btn"></vk-property-prototype>

    <vk-stub id="code-no-expand" style="display:none;">
      <pre><code class="language-js">let bufferImageCopy = new VkBufferImageCopy();
bufferImageCopy.bufferOffset = ;
bufferImageCopy.bufferRowLength = ;
bufferImageCopy.bufferImageHeight = ;
bufferImageCopy.imageSubresource = ;
bufferImageCopy.imageOffset = ;
bufferImageCopy.imageExtent = ;
</code></pre>
    </vk-stub>

    <vk-stub id="code-expanded" style="display:none;">
      <pre><code class="language-js">let bufferImageCopy = new VkBufferImageCopy();
bufferImageCopy.bufferOffset = ;
bufferImageCopy.bufferRowLength = ;
bufferImageCopy.bufferImageHeight = ;
bufferImageCopy.imageSubresource.aspectMask = ;
bufferImageCopy.imageSubresource.mipLevel = ;
bufferImageCopy.imageSubresource.baseArrayLayer = ;
bufferImageCopy.imageSubresource.layerCount = ;
bufferImageCopy.imageOffset.x = ;
bufferImageCopy.imageOffset.y = ;
bufferImageCopy.imageOffset.z = ;
bufferImageCopy.imageExtent.width = ;
bufferImageCopy.imageExtent.height = ;
bufferImageCopy.imageExtent.depth = ;
</code></pre>
    </vk-stub><vk-section-title>Parameters</vk-section-title>

    <vk-properties>
      <vk-property-entry>
        <vk-property-prototype class="no-float">object</vk-property-prototype>
        <vk-property-description>When instantiated with an object, members can be filled directly.</vk-property-description>
      </vk-property-entry>
    </vk-properties><vk-section-title>Properties</vk-section-title>

    <vk-properties>
      <vk-property-entry>
        <vk-property-prototype>VkBufferImageCopy.prototype.<vk-prototype-name>bufferOffset</vk-prototype-name></vk-property-prototype>
        <vk-property-type type="number"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt">BigInt</a></vk-property-type>
      <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the offset in bytes from the start of the buffer object where the image data is copied from or to.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkBufferImageCopy.prototype.<vk-prototype-name>bufferRowLength</vk-prototype-name></vk-property-prototype>
        <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkBufferImageCopy.prototype.<vk-prototype-name>bufferImageHeight</vk-prototype-name></vk-property-prototype>
        <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> specify in texels a subregion of a larger two- or three-dimensional image in buffer memory, and control the addressing calculations. If either of these values is zero, that aspect of the buffer memory is considered to be tightly packed according to the <b>imageExtent</b>.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkBufferImageCopy.prototype.<vk-prototype-name>imageSubresource</vk-prototype-name></vk-property-prototype>
        <vk-property-type type="object"><a href="../structs/VkImageSubresourceLayers.html">VkImageSubresourceLayers</a></vk-property-type>
        <vk-property-description> is a <b><a href="../structs/VkImageSubresourceLayers.html">VkImageSubresourceLayers</a></b> used to specify the specific image subresources of the image used for the source or destination image data.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkBufferImageCopy.prototype.<vk-prototype-name>imageOffset</vk-prototype-name></vk-property-prototype>
        <vk-property-type type="object"><a href="../structs/VkOffset3D.html">VkOffset3D</a></vk-property-type>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkBufferImageCopy.prototype.<vk-prototype-name>imageExtent</vk-prototype-name></vk-property-prototype>
        <vk-property-type type="object"><a href="../structs/VkExtent3D.html">VkExtent3D</a></vk-property-type>
        <vk-property-description> is the size in texels of the image to copy in <b>width</b>, <b>height</b> and <b>depth</b>.</vk-property-description>
      </vk-property-entry>
      
    </vk-properties>

    <vk-section-title>Default Properties</vk-section-title>

    <vk-properties>
      <vk-property-entry>
        <vk-property-prototype>VkBufferImageCopy.prototype.<vk-prototype-name>memoryBuffer</vk-prototype-name></vk-property-prototype>
        <vk-property-type type="arraybuffer"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer">ArrayBuffer</a></vk-property-type>
        <vk-property-description>Native memory reference of the structure.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkBufferImageCopy.<vk-prototype-name>memoryLayout</vk-prototype-name></vk-property-prototype>
        <vk-property-type type="object">Object</vk-property-type>
        <vk-property-description>Object describing this structure's memory layout.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkBufferImageCopy.<vk-prototype-name>byteLength</vk-prototype-name></vk-property-prototype>
        <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description>Total native byte length of this structure.</vk-property-description>
      </vk-property-entry>
    </vk-properties>

  </vk-struct>

</vk-centered>

<script>
const IS_ROOT = false;
</script>

<script type="text/javascript" src="../../assets/js/prism.min.js"></script>
<script type="text/javascript" src="../../assets/js/index.js"></script>
